package com.booking.service;

import com.booking.common.dto.PageReq;
import com.booking.common.dto.PageResp;
import com.booking.controller.model.req.homestay.HomestayCreateReq;
import com.booking.controller.model.req.homestay.HomestayQueryReq;
import com.booking.controller.model.req.homestay.HomestayRoomCreateReq;
import com.booking.controller.model.req.homestay.HomestayServiceCreateReq;
import com.booking.controller.model.res.HomestayDetail;
import com.booking.controller.model.res.HomestaySimpleInfo;
import com.booking.controller.model.res.RoomDetail;
import com.booking.controller.model.res.ServiceDetail;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
public interface HomestayService {

    PageResp<HomestaySimpleInfo> getHomestaySimpleInfoPage(PageReq<HomestayQueryReq> request);
    HomestayDetail getHomestayDetail(Long homestayId);
    String create(HomestayCreateReq request);
    void delete(Long homestayId);



    /* ----------------------房间---------------------- */
    RoomDetail getRoomDetail(Long roomId);
    String createRoom(HomestayRoomCreateReq request);
    void deleteRoom(Long roomId);


    /* ----------------------服务---------------------- */
    ServiceDetail getServiceDetail(Long serviceId);
    String createService(HomestayServiceCreateReq request);
    void deleteService(Long serviceId);


}
